<template>
  <div class="nav">
      <router-link to="" v-for="(item,index) of list" :key ="index" >{{item}}</router-link>
  </div>
</template>

<script>

export default {
  name: 'HomeNav',
  data () {
    return {
      list: [
        '首页',
        '日常版',
        '特别节目',
        'CCTV-4'
      ]
    }
  }
}
</script>

<style>
.nav{
  width:1000px;
  margin:0 auto;
  height:60px;
  line-height:58px;
}

</style>
